import request from '@/utils/request'

/**
 * 合格记录
 */
export function saveLogOk(snCode, doneQty, scrapQty) {
  return request({
    url: `/me/meSfcNcLog/saveOk?sn=${snCode}&doneQty=${doneQty}&scrapQty=${scrapQty}`,
    method: 'get'
  })
}
/**
 * 不合格记录
 */
export function saveLogUnOk(snCode, ncBo, doneQty, scrapQty) {
  return request({
    url: `/me/meSfcNcLog/saveNc?sn=${snCode}&ncBo=${ncBo}&doneQty=${doneQty}&scrapQty=${scrapQty}`,
    method: 'get'
  })
}
